{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/index.tsx\";\nimport React, { createContext } from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './App';\nimport Store from \"./store/store\";\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport './assets/styles/index.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport const store = new Store();\nexport const Context = /*#__PURE__*/createContext({\n  store\n});\nconst root = ReactDOM.createRoot(document.getElementById('root'));\nroot.render( /*#__PURE__*/_jsxDEV(React.StrictMode, {\n  children: /*#__PURE__*/_jsxDEV(Context.Provider, {\n    value: {\n      store\n    },\n    children: /*#__PURE__*/_jsxDEV(Router, {\n      children: /*#__PURE__*/_jsxDEV(App, {}, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 29,\n        columnNumber: 15\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 28,\n      columnNumber: 11\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 24,\n    columnNumber: 7\n  }, this)\n}, void 0, false, {\n  fileName: _jsxFileName,\n  lineNumber: 23,\n  columnNumber: 3\n}, this));","map":{"version":3,"names":["React","createContext","ReactDOM","App","Store","BrowserRouter","Router","store","Context","root","createRoot","document","getElementById","render"],"sources":["/data/messenger.client/src/index.tsx"],"sourcesContent":["import React, {createContext} from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './App';\nimport Store from \"./store/store\";\nimport {StoreModel} from \"./models/StoreModel\";\nimport {BrowserRouter as Router} from 'react-router-dom';\nimport {configure} from 'mobx';\nimport './assets/styles/index.scss';\n\nexport const store = new Store();\n\nexport const Context = createContext<StoreModel>({\n    store,\n});\n\n\n\nconst root = ReactDOM.createRoot(\n  document.getElementById('root') as HTMLElement\n);\n\nroot.render(\n  <React.StrictMode>\n      <Context.Provider value={{\n          store\n      }\n      }>\n          <Router>\n              <App />\n          </Router>\n      </Context.Provider>\n  </React.StrictMode>\n);\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,aAAa,QAAO,OAAO;AAC1C,OAAOC,QAAQ,MAAM,kBAAkB;AACvC,OAAOC,GAAG,MAAM,OAAO;AACvB,OAAOC,KAAK,MAAM,eAAe;AAEjC,SAAQC,aAAa,IAAIC,MAAM,QAAO,kBAAkB;AAExD,OAAO,4BAA4B;AAAC;AAEpC,OAAO,MAAMC,KAAK,GAAG,IAAIH,KAAK,EAAE;AAEhC,OAAO,MAAMI,OAAO,gBAAGP,aAAa,CAAa;EAC7CM;AACJ,CAAC,CAAC;AAIF,MAAME,IAAI,GAAGP,QAAQ,CAACQ,UAAU,CAC9BC,QAAQ,CAACC,cAAc,CAAC,MAAM,CAAC,CAChC;AAEDH,IAAI,CAACI,MAAM,eACT,QAAC,KAAK,CAAC,UAAU;EAAA,uBACb,QAAC,OAAO,CAAC,QAAQ;IAAC,KAAK,EAAE;MACrBN;IACJ,CACC;IAAA,uBACG,QAAC,MAAM;MAAA,uBACH,QAAC,GAAG;QAAA;QAAA;QAAA;MAAA;IAAG;MAAA;MAAA;MAAA;IAAA;EACF;IAAA;IAAA;IAAA;EAAA;AACM;EAAA;EAAA;EAAA;AAAA,QACJ,CACpB"},"metadata":{},"sourceType":"module"}